package com.eastmoney.emis.edda.task.eddi;

import com.eastmoney.emis.edda.domain.entity.EddiInstruction;
import com.eastmoney.emis.edda.task.AbstractTask;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.task.eddi
 * @author: 汪程程
 * @date: 2022/10/11 6:19 PM
 * @version: 1.0
 */
public class EddiTask extends AbstractTask {
    private EddiInstruction eddiInstruction;
    private String processUid;
    private String processUserName = "system";

    private String creditorReference;
    private String language;

    public EddiTask(EddiInstruction eddiInstruction) {
        this.id = "EDDI-" + eddiInstruction.getClientId();
        this.eddiInstruction = eddiInstruction;
    }

    public EddiInstruction getEddiInstruction() {
        return eddiInstruction;
    }

    public void setEddiInstruction(EddiInstruction eddiInstruction) {
        this.eddiInstruction = eddiInstruction;
    }

    public String getProcessUid() {
        return processUid;
    }

    public void setProcessUid(String processUid) {
        this.processUid = processUid;
    }

    public String getProcessUserName() {
        return processUserName;
    }

    public void setProcessUserName(String processUserName) {
        this.processUserName = processUserName;
    }

    public String getCreditorReference() {
        return creditorReference;
    }

    public void setCreditorReference(String creditorReference) {
        this.creditorReference = creditorReference;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }
}
